package org.aeon.foa.entity;

/**
 * @projectName: easytaskkit
 * @package: org.aeon.foa.entity
 * @className: Order
 * @author: MissingAeon
 * @date: 2024/1/2 16:32
 * @description:
 */
public class Order {
    private int number;                                         // 序号
    private String ordererName;                                 // 订餐人
    private String foodInfo;                                    // 餐品信息
    private int deliveryTime;                                   // 送达时间
    private int deliveryDate;                                   // 送餐日期
    private String deliveryAddr;                                // 送餐地址
    private double mealExpenses;                                 // 餐费
    private double shippingFees;                                 // 运送费
    private boolean state;                                          // 订单状态

    public Order(int number,
                 String ordererName,
                 String foodInfo,
                 int deliveryTime,
                 int deliveryDate,
                 String deliveryAddr,
                 double mealExpenses,
                 double shippingFees) {
        this.number = number;
        this.ordererName = ordererName;
        this.foodInfo = foodInfo;
        this.deliveryTime = deliveryTime;
        this.deliveryDate = deliveryDate;
        this.deliveryAddr = deliveryAddr;
        this.mealExpenses = mealExpenses;
        this.shippingFees = shippingFees;
        this.state = false;
    }

    public int getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(int deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getOrdererName() {
        return ordererName;
    }

    public void setOrdererName(String ordererName) {
        this.ordererName = ordererName;
    }

    public String getFoodInfo() {
        return foodInfo;
    }

    public void setFoodInfo(String foodInfo) {
        this.foodInfo = foodInfo;
    }

    public int getDeliveryDate() {
        return deliveryDate;
    }

    public void setDeliveryDate(int deliveryDate) {
        this.deliveryDate = deliveryDate;
    }

    public String getDeliveryAddr() {
        return deliveryAddr;
    }

    public void setDeliveryAddr(String deliveryAddr) {
        this.deliveryAddr = deliveryAddr;
    }

    public double getMealExpenses() {
        return mealExpenses;
    }

    public void setMealExpenses(double mealExpenses) {
        this.mealExpenses = mealExpenses;
    }

    public double getShippingFees() {
        return shippingFees;
    }

    public void setShippingFees(double shippingFees) {
        this.shippingFees = shippingFees;
    }

    public boolean getState() {
        return state;
    }

    public void setState(boolean state) {
        this.state = state;
    }
}
